+ 1
How to write comments?
Can I define a comment myself ?
8 Answers
+ 7
no, you can't define syntax for commenting
+ 2
depends the language
c++ is // test
Python is # test
+ 2
java and C: myfunc (6) //That's a comment
java and C /*That's also a comment!*/
+ 1
for which language are you asking like Java or c++ etc.?. your question is incomplete.
+ 1
Sorry. That's for HTML.
+ 1
<!-- this comment -->
0
Comment Tag <!âyour comment here â> This element is used to add acomment to an HTML document.Â
0
Yup . I understand the Syntax. but Let me know whether i can use a self define question or not?