Fix comment handling in pyxl attribute values