Commenting code in ASP Classic

asp-classic

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

Best Answer

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).

Related Topic