Single-line comments in ASP are implemented in single quotation marks in English and can be added to any position in the line. The content after single quotation marks will no longer be explained. If you want to learn more professional knowledge, please follow the editor of the Wrong New Technology Channel to learn about it!
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.
The above are some of the methods for analyzing ASPs to implement multi-line comments compiled by the New Technology Channel for us. If you like the content published by the editor, you can bookmark our website!