Single line comments nicely avoid the nesting problem. I can write:
# # foo
without any issues, enabling me to comment out a region that contains a comment.
Multiline comments are much more awkward, as many languages don't support nesting:
/* /* foo */ */
I've always wondered why more compilers don't use parameters with basic blocks rather than phi nodes.
I enjoyed this post discussing tradeoffs, including comments on how GHC and Swift model blocks: