There are two types of comments that are allowed in the JSP. They are hidden and output comments.
A hidden comment does not appear in the generated HTML output, while output comments appear in the generated output.
Example of hidden comment:
< % – – This is a hidden comment – – % >
Example of output comment:
< ! – – This is an output comment – – >