Commenting code in ASP Classic

Developer Jay picture Developer Jay · Jun 5, 2013 · Viewed 57.3k times · Source

The way I know of hashing out code within ASP Classic is <%-- --%>. Would this be correct? Or is there another way?

Answer

Sumit Gupta picture Sumit Gupta · Jun 5, 2013

Use a single quote, like:

' This is comment

ASP Classic uses the VBScript/Visual Basic language, and a single quote is commenting in that; <%-- is nothing (I am not 100% sure though).