- 1

How to write a comment?

24th Jan 2017, 4:02 PM
Arunappu
4 Answers
+ 2
If you mean in code then Html is <!--Content over several lines--> JS/c# is // content on one line JS/c#/CSS/PHP is /*content over several lines*/ not sure about other coding languages sorry.
24th Jan 2017, 4:41 PM
Owen
Owen - avatar
+ 1
Python one line comment should start with # Multilines kind-of comments should be enclosed by triple quotes ( """ )
25th Jan 2017, 8:08 AM
visph
visph - avatar
0
For java, you can also use: // and /* */ which is the same as JS & C#
25th Jan 2017, 2:48 AM
lowshuen
0
def example_function(): """This is a documentation comment (docstring) explaining the function.""" pass the way i made. bloxfruitsscript.org
5th Feb 2025, 12:43 PM
Bloxyfax
Bloxyfax - avatar