Style guidelines says to favor early returns.
I think the code is fine, but you're right that the comment explaining it reads awkwardly.