1.C language
Multi-line comments. Format: Begins with a single slash and asterisk (/*), ending with an asterisk and a single slash (*/). Example:/* Comment content */
2.c++
(1) Single-line comment. Format: Starts with a double slash to the end of the line. Example://comment Content
(2) Multi-line comment. Format:/* Comment content */
3.HTML
Multi-line comments. Format:<!--Comment content--
4.CSS
Multi-line comments. Format:/* Comment content */
5.XML
Multi-line comments. Format:<!--Comment content--
6. Assembly language
Single-line comment. Format:; Comment Content
7.Java comments
(1) Single-line comment. Format://comment Content
(2) Multi-line comment. Format:/* Comment content */
(3) Documentation comments. Format:/** Document comments */
8.JavaScript
(1) Single-line comment. Format://comment Content
(2) Multi-line comment. Format:/* Comment content */
9.PHP
(1) Single-line comment.
Format 1://Comment Content
Format 2: #注释内容
(2) Multi-line comment. Format:/* Comment content */
Comments in common development languages