Comments

RSP supports Java style comments within code sections. Specifically:

Example 3.2. RSP comments

<%
// A single line comment

boolean success = true;     // A single line comment after a line

/*
    A multiple line comment

    %>You should not see this text in the output!<%

    /* A nested comment */

    /* This shouldn't be executed */
    success = false;

    // A single line comment inside the main comment - not special ignored

    %>An unterminated HTML section, but inside the comment so it's ok

// The main comment termnates here  --> */
%>