'Avoid formatting comments

Is there anyway to avoid formatting the comments?

To reproduce, paste below example SQL code to BQ:

--important comment on table info

select * from mytable1;

/* some more 
multiline
important comment 
on table info:*/

select * from mytable2;

It will look like this:

enter image description here

Now, click on "MORE", then "Format query"

enter image description here

Some words in comments get capitalised, like "table", "on" and become part of SQL code:

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source