Use the <%# %> sequence, e.g.
<%# %>
<%# This is a great comment! %>
For Record
<%# This is a great comment! %><%#= This is a great comment! %>
For block comments:
<% if false %> code to be commented out...<% end %>