I'd add a blank line for each <code>// if ...</code> sequence to improve readability.