It's supported by the code comment plugin (
gedit-plugins in Debian). Make sure it's installed, then in the gedit preferences, enable "Code Comment" in the "Plugins" tab. Open a TeX or LaTeX document, select some text, and hit CtrlM to comment the corresponding lines. CtrlShiftM uncomments.