Forum Discussion
Comment/Uncomment multiple lines
Rod_Trent I agree with you, that two slashes "//" are a good and fast way to comment one line. But I think it's too bad that there aren't a way to comment a block/multiple lines with only one shortcut, rather than typing "//" at each line.
What is weird is that in the command palette, as GaryBushey said, there is a command line for that "Toggle Block Comment" --> "Shift+Alt+A" but it's not working in my environment. And it seems that I'm not the only one.
Thank you for the recommendation about AutoHotkey, although I'm not certain that it will allow me to do this precise operation.
Not sure if it is too late to reply to this thread but I came across this and did a bit of search.
Control+K+C works for me to comment multiple lines in Kusto
Control+K+U is for uncommenting lines. Tested and it worked for me without any problems.
Seems these are the shortcuts used in Visual Studio too.
Hope this helps someone.