Notes
The first class uses a double slash "//" comment line and a slash with an asterisk "/* Comment content */" to annotate multiple lines: C + +/C #/JAVA/PHP/JAVASCRIPT/CSS
The second class uses "<!--annotation content---" to annotate the content: only the programming languages with multiple lines of comment are: Html/xml
The third class uses the "#" Comment Line
- Python comments
Line comment:# here is the comment
Block Comment:"' Here is the note '
- JAVA/JAVASCRIPT/C/C + +/C #/Go/scala notes:
Line Comment://Here is the comment
Block Comment:/* Here is the comment * /
- Css
Block Comment:/* Here is a comment, can be a single line or multiple lines * /
?
- HTML comments:
Block notes:<!--here is a comment, one line can also be multiple lines--
- XML comment:
Block notes:<!--here is a comment, one line can also be multiple lines--
- Mysql
Line Comment:--here is the comment
Line Note:#这里是注释
Block Comment:/* Here is the comment * /
- SQL server/oracle Plsql:
Line Comment:--here is the comment
Block Comment:/* Here is the comment * /
?
Summary of programming language annotations