Comment in markdown code block

Hi, I am new to this awesome software so may be someone already implemented this feature.

If I am editing a code block, I would like to use something like ctrl+/ to comment out the current line. The comment might be specific to the language I specified in the code block. I think this requires some predefined comment symbols (e.g. python # or java //). Not sure if this is possible at the current stage, and I can help contribute if the designer think this is feasible.


Are you asking for ctrl+/ to be a logseq block editor command?

Or are you asking for ctrl+/ to be configured for CodeMirror, the code block editor that Logseq use? If you click in the code block below you are editing using CodeMirror key mappings. So I understand.

Ref CodeMirror default Key maps