Comment definition

Comments are categorized as block or remark.
  1. Full-line comments

    A line that contains only commentary is a full-line comment. A full-line comment that is not embedded within an instruction is counted as a comment. A block comment may span several lines.

    For nested comments, the entire text of the comment is regarded as block or remark based on whether the outermost comment starts as the first item on a line or not. The comment delimiters for inner comments are disregarded.

  2. Remarks

    A remark is any comment which is not a block comment. This is valid regardless of whether the comment appears within an instruction or at instruction boundary. A remark may also span several lines.

ASMXREF does not count remarks.

Note: Blank lines are counted as comments.