I have used nested comment blocks in the past while writing queries using SSMS and never thought about whether or not it was alright. I was giving Azure Data Studio a try and noted that it doesn't handle nested comments in the same way.
This is why I want to ask: Do DB Developers use nested comment blocks?
If I enter a block of code with nested blocks of comments such as this:
/* SELECT 1 /* SELECT 2 */ SELECT 3 */ SELECT 4
The code text coloring in Azure Data Studio (and here) appears incorrect:
In SSMS the same block of text produces what I would expect:
I appreciate a visual confirmation of what is going to happen when I hit execute. With Azure Data Studio, I definitely hesitate to run any file that contains nested comments because I don't like the potential for unexpected activity.