Thoughts on a new comment syntax?

So, I don’t normally make these kinds of suggestions but wouldn’t it be useful to have a comment syntax such as the following?

// Console.WriteLine("Standard inline comment") /* Console.WriteLine("Standard block comment"); */ /*+ Console.WriteLine("New toggle comment block."); */ 

The difference being that

/*- Console.WriteLine("Not commented out"); */ 

Maybe it could contribute to bad code… but I think it could be useful.

submitted by /u/eightvo
[link] [comments]

Leave a Reply