Page 1 of 1

Comment that would ignore other comments.

Posted: Sun Jul 16, 2017 9:01 am
by Bugala
I am wishing for another comment option that would ignore other comments.

It is quite usual to have a following case:

Code: Select all

linesofcode
lineofcode /* comment */
linesofcode
lineofcode /*comment */
linesofcode
lineofcode /*comment*/
linesofcode
Then what happens is that i want to comment all these lines out temporarily, and at this point it would be great to be able to:

Code: Select all

 - - comment - - linesofcode
lineofcode /* comment */
linesofcode
lineofcode /*comment */
linesofcode
lineofcode /*comment*/
linesofcode  - - endcomment - -
and that would be it, instead of how it is now:

Code: Select all

/* linesofcode
lineofcode /* comment */
/*linesofcode
lineofcode /*comment */
/*linesofcode
lineofcode /*comment*/
/*linesofcode*/