Accept @if etc. within content block of @include (#13878)

Change-Id: Ie1e0b157a4c972b3f21fbdfbb7325ecb0d206fc2