OK, this may seem like a stupid question/request since there's likely some new way to affect this that I don't know about....but, here goes.
In the old days, when you were testing and playing around with coding approaches you could just "comment out" the lines you didn't want to be executed while testing things.
I find myself testing some variations of Rules and not wanting to CUT, EDIT, or DELETE any of them... but rather just IGNORE/DISABLE a couple for the time being until I figure out which variant does exactly what I want the way I want it.
What I am working on right now is trying to get POSTs or GETs to work to an Axis Camera via Rule 4.1. I can change if there's an applicable capability in a newer RM version.
Ironically, I finally got the right construct to make this work and I'm not sure which of the flipping lines (rule constructs) did it as I put EVERYTHING in there some time ago trying to get this to work ...and now it does for some reason.
Addendum: Ha! To my surprise the initial replies to this are making me feel less stupid.
I would love to see an option to comment out (disable) a line or two as well for things that are only valid for a time each year, like holiday lighting automations, but where I still want the rest of the rule to run year round.
This has been requested many times before. Search for "comment out" and you'll find a few. The answer has always been no. In one of those threads, there is a trick mentioned that functions similarly. I don't recall the specifics, but it was something like send a notification to nothing.
Although the Note field is very useful, I too would like to place a comment right before a particularly complex set of actions to explain why I'm doing it this way. I sometimes look at my complex rules like a dog watching TV.
Actually, actually !!! I had worked on this rule so so long ago and gave up. Getting back in today and seeing my notes in the note/comment field on the overall rule had me really thankful that the Hubitat folks had added this ...and I was going to say something positive (for once ) in that regard !
As an alternative in RM 5.1, you could use the new Cut command which would remove the line while you test. Then you could paste it back in the same spot afterwards. This will however only work when the lines that you cut are next to each other (as far as I know…)
Something to be careful about! If you are able to reproduce, it might be a good idea to provide the specifics to Bruce so that he may fix if possible. Ideal is to create a new rule with only the necessary in it and share a screenshot.
I would always have a recent backup available just in case. But simply cloning a rule shouldn't require backups every single time you clone. I would backup a known good state, and download that backup before futzing around, but otherwise you should be OK.
That's useful for the case of temporarily "commenting out" an action. But it would be nice if there was simply a way to put a comment within the actions as an explanation of why something that unusual works the way it does. For example
! Power cycle it in case it has dropped off the mesh
Off: WaterCop Valve Power
On: WaterCop Valve Power --> delayed: 0:00:04