Chapter 4: Adding Comments

You can add either a single-line comment or a comment block. Comments are not displayed in the generated report.

  • To add a single-line comment, add it in the M2Doc {m:comment} field, as shown in the example below.

    {m:comment This is a single-line comment}
  • To add multiple paragraphs or even pictures in a comment, include them between {m:commentblock} and {m:endcommentblock}, as shown in the example below. Longer comments can be useful for longer explanations in the M2Doc template.

    {m:commentblock optional text}
                
    None of the text included here will appear in the generated document. 
                	
    {m:endcommentblock}