YAML / quote / comment / syntax boundary
Review YAML comments, quotes and empty values
Review comment boundaries, quoted #, colon structure, empty values and plain scalars with fixed examples. No YAML parser is executed and no input is sent.
YAML / quote / comment / syntax boundary
Review comment boundaries, quoted #, colon structure, empty values and plain scalars with fixed examples. No YAML parser is executed and no input is sent.
Results are not guaranteed to match every reader. Check the YAML version, schema and receiver you actually use.
| case | Fixed example | Boundary |
|---|---|---|
comment | note: left # commentnote: left#tag | A separated # versus a # inside the scalar |
quoted-hash | note: "left # literal" | # inside quotes belongs to the quoted scalar |
colon-boundary | label: left: rightlabel: "left: right"endpoint: https://example.test/a:b | Structural : versus a colon without following space |
empty-scalar | value:value: "" | An empty node versus an explicit empty string |
plain-scalar | feature: on | YAML 1.1 versus YAML 1.2 core schema |
This page explains examples. It does not validate configuration, execute a parser or determine whether a configuration is safe.
: , quote it and check the target reader.on.For general boolean-like, date-like, numeric and null examples, see the YAML scalar coercion guide.