JSP has two types of comments. JSP supports standard HTML and XML comment format. Any content between <!– and –> is treated as comment.
|<!– This is a comment in both HTML and JSP. –>|
JSP has also introduced a different syntax for comments. Any text between <!– and –%> is treated as comments.
|<%– This is a comment in JSP but not in HTML–%>|