Comments

You can annotate an OmniMark program with descriptive text, called a comment, which is ignored by OmniMark. Comments help make a program more understandable for human readers. Comments can appear in an OmniMark program anywhere white space is allowed; that is, anywhere except within a name, keyword, or string.

Comments begin with a semicolon and continue for the rest of the line. The following example illustrates the use of comments:

  ; Rule for paragraphs invoked after the start of a chapter
  
  element par when chapter-start
     output "\firstpar{}%sc%n"

There are no block comments in OmniMark. To mark a block of text as comment, you must put a semicolon at the beginning of each line.