An output comment is sent to the client where it becomes viewable in the source of browser.
<!-- This is a comment which is sent to client -->
JSP page is documented by hidden comment however it is not sent to client. Hidden comment is ignored by the JSP engine and no code is processed in tags of the hidden comments.
<%-- This comment will not be visible to client --%>