Single-line comments in ASP are implemented in single quotation marks, and can be added anywhere in a line. The content after single quotation marks will no longer be explained.
What about multiple lines of comment? In fact, multiple lines of comments are not supported in ASP, such as /**/, etc., it will definitely not be implemented. There is also an indirect way, which is to use ASP code as annotation like HTML code. It is obvious that this is very insecure because the source code will be directly exposed.
With Dreamweaver8, batch multi-line comments of ASP script code can be easily implemented. This function can directly prefix single quotes on each selected line, and can also easily uncomment these comments.
1. Add comments on multiple lines
2. The method of removing multiple lines of comments is also very simple and convenient:
PS: I often like several thoughtful functions of DW8: code folding, CSS layout support, page zoom, etc.