## JET Comment Syntax Reference

JET templates may contain comments between the characters `<%--` and `--%>`. JET ignores all content in a comment.

### Valid comments

Comments may span several lines, and may contain any text. The following are examples of a JET comments:

    <%-- This comment will not appear in the template output --%>
    <%-- This directive is not used
    <%@taglib id="org.eclipse.jet.controlTags" prefix="cc"%>
    --%>

### Invalid comments

Comments may not appear within other JET elements. The following are illegal comments:

    <%@taglib id="org.eclipse.jet.controlTags" <%-- illegal comment --%>
              prefix="cc" %>

### Escaping comment characters

To emit the characters `<%--` in a templates output, enter `<\%--`. To emit `--%>`, enter `--%\>`.

The following is an example of an escaped JET comments:

    <\%-- this will show in the template output --%\>