Fix parsing define statements with comments and add example where scoping breakage occurs