Yes, people have said that.
It doesn't slow transmission of a virus either. COVID-19 is an airborne virus. It is in the air. It is aerosolized. All it takes is one virion to potentially infect someone.
A cloth mask will not stop such virions. The pores are too large. Same goes for a paper mask, a surgical mask, an N95 mask, etc... Sources: N95 specifications, COVID-19 virion specifications
Plastic barriers do not stop a virus... Shutting down an economy does not stop a virus... Social distancing does not stop a virus... Fear mongering does not stop a virus... Lying does not stop a virus... Denial does not stop a virus...
Sunlight (and other UV light) will stop a virus... Immune systems will stop a virus.
Getting out into the sun boosts the presence of Vitamin D3 in the body, which helps one's immune system. Stop fear mongering and GET OUT IN THE SUN!