Is there a place where compiler directive syntax is documented?

Here is the grammar description in the The Swift Programming Language Book:

Scroll down to "Grammar of a conditional compilation block"

And here in the language reference chapter: