You cannot eat it in this case.
Red spots or streaks on the surface of sugarcane may indicate that the sugarcane has gone bad and is not recommended for consumption.
Although the red portion may not be obviously contaminated or spoiled, the red portion may contain bacteria, mold, or other harmful substances that may cause health hazards when consumed. Therefore, it is recommended to choose sugarcane with normal appearance and no abnormal smell.
Eating moldy sugar cane is prone to diarrhea, nausea, vomiting, etc., and severe cases may even cause coma. The purchased sugar cane should be stored in a cool and dry place.