### Bug description

On my [quarto page](https://github.com/schochastics/quarto-schochastics), I have utterance activated on 2 docs. On these two pages I have the following in my yaml header which has worked at least until quarto 1.1.128 

``` yaml
comments:
  utterances:
    repo: schochastics/quarto-schochastics
    issue-term: pathname
    label: comment
    theme: photon-dark
    crossorigin: anonymous
```
Starting with quarto 1.1.178 I get this error when rendering

```
ERROR: Validation of YAML front matter failed.
ERROR: In file material/netVizR/index.qmd
(line 13, column 3 through line 18, column 26) Key comments has value utterances:
    repo: schochastics/quarto-schochastics
...
    theme: photon-dark
    crossorigin: anonymous, which must be 'false'
12: comments:
13:   utterances:
      ~~~~~~~~~~~
14:     repo: schochastics/quarto-schochastics
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
17:     theme: photon-dark
    ~~~~~~~~~~~~~~~~~~~~~~
18:     crossorigin: anonymous
    ~~~~~~~~~~~~~~~~~~~~~~~~~
19: ---

ERROR: Render failed due to invalid YAML.
```
I did not change any code just wanted to re-render after installing the new quarto version
I am running Ubuntu 20.04

### Checklist

- [ ] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [x] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [x] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [x] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2022-09-08T06:53:06Z
schochastics
bug yaml-validation
closed
Bad error message on invalid YAML
https://github.com/quarto-dev/quarto-cli/issues/2349