语言 | 单行注释 | 多行注释 |
---|---|---|
C | //This is a one-line comment |
/*this is a comment*/ |
C++ | //This is a one-line comment |
/*this is a comment*/ |
Java | //This is a one-line comment |
/*this is a comment*/ |
Python | #This is a one-line comment |
"""this is a comment""" or'''this is a comment''' |
JavaScript | //This is a one-line comment |
/*this is a comment*/ |
Html | <!-- this is comments --> |
|
Css | /*this is comments*/ |
|
Xml | <!-- this is comments --> |
|
Yaml | #this is comments |