2.4 Comments

You can insert a comment in a template by enclosing the text of the comment in braces, with an exclamation mark immediately following the opening brace. Other braces can be nested within the comment such that when an opening brace is encountered inside a comment, the next closing brace encountered will not close the comment. This allows you to easily comment out sections of the template that may contain other keywords or comments.

Comments are removed from the final document being produced.

<HTML>
<BODY>
{! This section has been commented out
    {SET a=1}
     <H1>Page Number {VAR a}</H1>
}
     <H1>Welcome to My Page</H1>
</BODY>
</HTML>

The preceding example will produce the following HTML text document:

<HTML>
<BODY><H1>Welcome to My Page</H1></BODY>
</HTML>