If you are trying to comment out asp.net code in an .aspx page (not code-behind), you can use server side comments. This way no one will see your comments client-side.
<%-- server side code here --%>
(add the % > at the end)
>Does anybody know how do you comment a block of code?
>
>thanks jim