assemblycommentsmasmmasm32

Multiple line comments in MASM assembly


Is there a way to comment multiple lines in assembly?

I am using Masm32 v9.


Solution

  • 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 ;^)