Fixed comment parsing error when sparse array is present