2
2
.
.
1
1
.
.
1
1
C
C
o
o
m
m
m
m
e
e
n
n
t
t
s
s
I
I
n
n
f
f
o
o
Comment is a text that describes the purpose of the source code (it is not being executed).
C
C
o
o
m
m
m
m
e
e
n
n
t
t
S
S
y
y
n
n
t
t
a
a
x
x
Comments are created by writing text
after double slash "//" for single line Comments //Single line comment.
between "/* ... */" for multi-line Comments /* Multi line comment. */
Comment Syntax
//Single line comment.
var name = "John"
/* Multi line comment.
Second line. */
let age =20