Comment

Page comments are useful for server side comments (that are not sent to the client) and to comment-out other parts of the page.

Syntax

A comment can appear anywhere in a text section.
[/*
..anything..
*/]
Molly comments are useful when other molly sections need to be temporarily (or permanently) commented out.

In addition to native molly comments, a page can have several other kinds of comments.

  1. Java comments within code blocks
    [[
    /* a comment */
    // another comment
    ]]
    
  2. HTML comments
    <!-- an html comment -->
    

Example

A molly page containing a code block that has been commented out. <html> <body> [/* comment out this section [[ int num = 100; ]] */] [[ int num = 5; ]] The number is [=num]. </body> </html> The number is 5.