However, your last example, the ; would comment not just noop, but also the end bracket. That makes sense based on the code. If you were to put a | before the final bracket on that line, it would probably work as you are wanting.
Yeah.. It's exactly what I'm reporting/asking to be changed