Comments

Comments are normally used to annotate code for future reference or make a part of the template inactive. The template engine does not process anything within the opening and closing comment tags.

<#-- commented out code or content --#> Makes a part of a template inactive.
<#-- commented out code or content --##>

Makes a part of a template inactive. Ignores all white space characters (including the EndOfLine symbol) starting from the ending tag ##> till either the end of line or any non-white space symbol.

Example

The following example demonstrates commented code.

<#--
for(int i = 0; i < 10; i++)
    Writer.WriteLine(i);
--#>