Comments
Html Comments
-<!--
and-->
-If you want to check the content within the html comment characters, you need right-click on the page you opened and then choose inspect elements.
-Using html comments is not safe, because users can see the code 100%, and then they can understand fully though.JSP Comments
-<%--
and--%>
-Existing in the server side, would not be sent to client side.Java Comments
You can use java type comments whenever you want, because it fully support java grammar.
The content of this blog is summarized from jikexueyuan JSP courses.