"level 0 sections can only be used when doctype is book"
This comes from this review https://reviews.freebsd.org/D53041 that for some reason I'm not allowed to see.
In theory I think these comments should be ignored according to https://docs.asciidoctor.org/asciidoc/latest/document/header/#header-requirements-per-doctype but the fact is that they aren't .