Comment directive

 

Use the Comment directive to temporarily disable other directives or HTML without deleting the source text. Later, you can delete the Comment directive to restore the original text.

For example, to test whether an HTML rule works with a specific directive omitted, use the Comment directive to disable the directive. This can help you debug HTML rules and understand stream processing.

The Comment directive is not a replacement for HTML comments. You can add HTML comments freely to your HTML source text using the normal notation.

This Comment directive disables the Reference directive. During stream processing, the value of the pyID property does not appear in the output.

{COMMENT}
   (.pyID}

{/COMMENT }

Syntax

In the syntax presentations below:

Record a comment in your HTML source using the syntax below.

{COMMENT [comments] }
Any directive that appears here is not processed.

{/COMMENT [comments] }

The ENDCOMMENT element is an alternative to the {/COMMENT} ending tag.

{ENDCOMMENT[comments]}

Use the curly brace with an asterisk for comments that are embedded in other directives or in HTML element tags.

{* This is also a comment. *}

Directives