Back when we were editing plain .yaml files for lovelace, we used to be able to use # for comments.
Now the frontend deletes these comments when you go and save any dashboards. For those of us that deploy large lovelace dashboard configs (just think the code from custom:button-card, sometimes its nice to be able to block copy some code and deploy the basics of that code in another area of the dashboard, comment it out, then come back to it at a later time.
For example: I have 2 brewing pump 3 phase variable motor drives that run on modbus. I have 2 additional VFD’s on order and these new ones need similar custom:button-card(s) as the two, already deployed units.
In the interim Id like to add the code to already existing dashboards for the two additional units while I am waiting on delivery. I cannot do this without breaking the dashboard I add them to becasue these 2 additional units dont exist (yet)
Bummer - my mode of UI design is - Im not exclusively .yaml anymore (my first release was 0.76). These days I use the UI to get the framework of my dashboards ready (cos its faster for me) and then I tweak/modify/cut and paste code blocks for custom stuff in the Raw Config editor and then switch back to UI mode.
Quicker time to market for deployment than the olden days. I can get a sexy dashboard up and running in an hour rather than a day.
Put your main dashboard in yaml mode and add a second dashboard in storage mode to quickly create the cards. Copy the code over when your card is ready