Thanks for mentioning this. I ran into the exact same issue.
Can I just escape all left and right curly braces to be safe? I have a Powershell script where I’m using createfile and there are a ton of both left and right curly brackets, sometimes embedded multiple levels. I tried escaping all left curly brackets but that didn’t solve the issue.
I wish there was a way to escape an entire line so I don’t have to worry about it at all?