fix parsing bugs when @code is null
test comment ignoring