+ 1
M not clearly understand why we use comments???
4 Answers
+ 3
they are optional but provide documentation to a program, in case of large software projects it is essential to use comments because software developer and tester are not the same person so that later testing teams or integration team can resolve issues and errors.
+ 1
thnks... âș
+ 1
its used when u not clearly understand the code
0
Commenting is a way that you can leave comments within your code without affecting the code itself.
Commenting is also a convenient way to make code inactive without having to delete it entirely.
in Html You can start a comment with <!-- and end a comment with -->
in javascript you can comment on line with // or multiline with /* for start and for the */ end