Make an endif comment match the actual condition