You’re definitely right about EROEI, but I interpreted the parent as saying that solar panels literally don’t recapture the CO2 required to make them, which is true (if not entirely meaningful).
Solar doesn’t reduce atmospheric CO2, it just offsets other production of CO2.