Currently yaml is configured like so:
const SYNTAXES: [(&str, &[SyntaxRule]); 15] = [
..snip..
("yaml", &C),
]
const C: [SyntaxRule; 3] = [
LineComment(b"//"),
BlockComment(b"/*", b"*/"),
String(b"\""),
];
The YAML spec says the only valid comment symbol is #, and that's a single line. I think the correct syntax would be:
const YAML: [SyntaxRule; 2] = [
LineComment(b"#"),
String(b"\""),
];