Worth noting that is initial capital costs of building the plant. Maintenance, fuel etc are not included, even before considering external costs such as poor health outcomes from pollution.
The more confident an online commenter is of their assertion, the lower the chances it is true.
> On average the levelized cost of electricity from utility scale solar power and onshore wind power is less than from coal and gas-fired power stations,[1]: TS-25 but this varies a lot depending on location.