Currently syntax can only be a list of one-liner examples/descriptors of syntax. That is, it cannot hold anything else (such as block text, version fence markdown, etc).
IMO this is very restrictive for a lot of languages that are documented, even C, for example, could benefit from allowing somethings, such as version fence markdown, within the syntax section. This bug should be a feature-request for adding version fence markdown allowance to the syntax section.
For version demarcation in particular, the current convention seems to be to abandon version fence markdown within the syntax section, instead using a line to display a language comment to the same effect. See // since C99
in C's Loops topic syntax section