#if and SIL directives in SIL files?

When writing a SIL test file, I've more than once wanted to wrap some code, including SIL decls, with #if but this doesn't work because #if only works with non-SIL decls. Is there a bug tracking this, or is it on purpose?