Assuming this is YAML, it doesn’t matter. They all will have the same result. If you’re not sure, try using a YAML parsing site. I’ve used http://yaml-online-parser.appspot.com/ often.
It can get a bit more complicated, especially when mixing quotes, e.g. when using templates, or using multi-line YAML.