Thanks again @August, let me try to explain even more details. But first:
You didn’t mention colours but your example contains parts in yellow. At least on my screen.
That's why I was wondering about colouring.
Back to my example. In my "Prompts…", I want to use regular parameter names, some of which have already been mentioned—for example, "Cutoff", "Resonance", "Expression", etc. The corresponding controller numbers are "74", "71", and "11". I also include information about the MIDI channel on which the data is being sent and the value. My inserted string (simplified somewhat) looks like this:
sendMIDIdata: "01", "94", "32" (MIDI channel, parameter, value)
There are over 100 possible controller numbers. After inserting several hundred lines of this type (not only for controllers, but also for SysEx data with even longer and more complex strings), if I want to continue working on it a few months later and change a value, it becomes difficult to understand exactly which string controls what.
That's why I started using a single macro to insert the corresponding regular parameter names as comments directly from a single "Prompt…". The result looks something like this:
-- ___ DX > FM Jam 1 (DX) > Cutoff = 41 __
midi.sendControlChange(PORT_1, 10, 74, 41)
This way, I have the explanation of the "UFN" directly above each of these command lines completed with "V". I have no idea how to implement this...
… and get the same result like shown above. Sorry. 