Comment/uncomment buttons disabled

We have a rather annoying issue. When we work on .PS1 files, Visual Studio disables the “comment lines” and “uncomment lines” buttons.

Any ideas on what’s going on here?