Also, would it matter if it was the plain-style mask or n95?
It seems unlikely because the emissions that make gas stoves more dangerous than electric stoves are molecule sized, specifically NO2 and benzene.
https://www.scientificamerican.com/article/the-health-risks-of-gas-stoves-explained/
It’s possible that the N95 masks with their electrostatic charge might manage to intercept charged molecules but my chemistry is failing me as to whether NO2 or benzene would be affected.
https://www.wired.com/story/the-physics-of-the-n95-face-mask/
I’m no scientist but I’m going to say no.
If oxygen, carbon dioxide, nitrogen, etc can pass through the fabric, so can carbon monoxide.
The masks are used for screening particulates out that contain pathogens like viruses/bacteria. Those are much larger than gasses.
Please correct me if I’m wrong about any of that.