Macro to convert text to comment /*...abcd*/

Hello,
I’m wondering, is there a macro (or any other feature in Kate available to convert a ‘marked’ text into a cpp?
something like
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

to

/* Lorem ipsum dolor sit amet, consectetur adipiscing elit. */

type comment?
Or is that something that I should try to resolve through a keyboard macro?
(Any suggestions for that?)
Any suggestion is much appreciated.
TIA

I’m not at my computer to check the settings, but if I highlight some text and hit Ctrl+/ Kate makes the highlighted text into a comment. (It uses the file type to figure out the comment format, I believe)

you can change the document type in the lower right hand corner

comment toggle doesn’t work on normal type, but it does on HTML, CSS, C#, CIL, AWK, etc

and you don’t need to highlight, it will do the whole line.

i don’t see a way to save the document type with the document tho, every time i reopen the file it’s back to “normal”.

You’re right.
CRTL + / changes the marked lines into ‘single’ comment lines (// …)
This action is listed in section katepart under "Settings → Configure Keyboard Shortcuts.

And it appears there is no shortcut for the ‘multi line’ comment.
At least I couldn’t find one.
Perhaps I should file a feature request in the KDE bug tracking system.
Thanks

selection > block

will toggle entire paragraphs of text.