Fix 'Unsupported operand types' when comment parsing fails