// This won't work

The if text

//#A

Some text related to the if text

//#A

The else text

//#A // Nor will this
//#B

The if text

//#B
//#B
//#B

The else text

//#B
//#B // Instead, consider grouping
//#C

The if text

//#C

Some text related to the if text

//#C
//#C
//#C

The else text

//#C
//#C