Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Multiline Comments
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Syntax:   COMMENT delimiter [text]
              [text]
            [text] delimiter [text]
 
  See also: Semicolon (;), Semicolons (;;)
 
  Description:
 
     Ignores all text between delimiters or on the same line as a
     delimiter. The two comment delimiters can be on the same or
     different physical lines.
 
     In the following code segment, the text inside the asterisks and
     the MOV instruction are ignored:
 
          COMMENT *  This text is ignored
          by the assembler *  mov    ax, 10h
 
     Parameter      Description
 
     delimiter      First nonblank character following the COMMENT
                    directive
 
     text           All text up to and including the line containing
                    the next occurrence of the delimiter.
                                    -♦-