Clientside
<!-- Clientside HTML Comment -->
View Source and you can see this comment in the code
Serverside for .NET or other languages that support it
<%-- Serverside comment--%>
View Source and you will not see this comment in the HTML markup
From MSDN: Server-side comments allow developers to embed code comments in any part of an ASP.NET application file (except for within code blocks). Any content between opening and closing tags of server-side comment elements, whether ASP.NET code or literal text, will not be processed on the server or rendered to the resulting page.
1
solved What is the difference between and <%--XX--%> in asp [closed]