The keybinding for commenting lines, on Linux, is Ctrl-/
. I don’t have a physical German keyboard with me, but judging by the T1 and T2 layouts I can find online, you’d hit Strg-Shift-7
(or Ctrl, instead of Strg, if that key is untranslated, like on a MacBook’s German layout).