Just a comment [Edit: pun intended :-)], the original concept was that it used the toggle comment marker so blocks of settings could just be toggled.
I could do it too with this patch too - right now the patch only inserts `#` but it could also be `#~ `. Maybe it's a good idea also because it makes it more obvious which line was commented out.