WTH: No comments, labels or descriptions for steps in automation/script editor

Now that we have more control constructs available in the script editor such as choose and repeat its easy to make some pretty complicated scripts. I think it should be possible to add labels or descriptions to steps in order to describe what you did and why so you can remember when you inevitably return to it later to debug/enhance.

Or alternatively add an action type of “Comment” that just allows me to insert some notes at a point in the script. The step itself wouldn’t do anything in that case I just want to be able to inject contextual notes.

The UI might not expose it explicitly, but most (if not all???) actions accept an alias key which can be used for exactly this. I would assume you could add it using YAML mode when entering the action, although obviously it would be better if exposed explicitly.