What is the use of multi line comments? We use it just to write the next comment from another line? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of multi line comments? We use it just to write the next comment from another line?

19th Dec 2016, 7:39 PM
Rubbiya Kamal
3 Answers
+ 1
The most common use for myself is that I comment out a block of code or other during testing, very useful if you don't want to delete it before verifying that the new code is working. :)
19th Dec 2016, 7:43 PM
Peter
0
oh that's a great thing! thanks for sharing!
19th Dec 2016, 7:54 PM
Rubbiya Kamal
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. You can start a comment with <!-- and end a comment with -->
20th Dec 2016, 4:54 PM
Adnen Rebai
Adnen Rebai - avatar