Multiple line comments in assembly

nunos picture nunos · Jan 19, 2010 · Viewed 23.1k times · Source

Is there a way to comment multiple lines in assembly?

I am using Masm32 v9.

Thanks.

Answer

Toad picture Toad · Jan 19, 2010

you can use the COMMENT directive to do multi line comments:

 COMMENT @
 This is some text
 And some more text
 @

make sure to chose a delimiter which is not used in the comment itself ;^)