The fastest way to hide many lines

Hi

Hiding many lines takes a lot of time, is there a shortcut for that?

In Studio you can highlight the area that you want to comment out and do (on my mac) CMD + Shift + 8 (aka CMD + *). If this doesn’t work go to Edit > Advanced > Toggle Comment Line(s).
-adam

See also $on/offtext (https://www.gams.com/latest/docs/UG_DollarControlOptions.html#INDEX__25_onText_2d__21_dollar_21_control_21_option) to comment blocks.

-Michael