Hitting Enter at end of double-slash comment line further indents the next line with comment slashes
I'm not understanding the logic of this behavior:

Why does it further indent and then comment the new line?
I notice it doesn't do this all the time, just in this specific scenario (consistently though).
Please sign in to leave a comment.
I have tried to play around with comments but was not able to reproduce this behaviour. Could you please share some step-by-step instructions or a specific scenario to reproduce it?
I discovered there was something earlier in the code that threw off the inspection; once I fixed that, indenting worked fine with the comments there.