I have thought about this a lot - I biked to every day this winter, and only took the train wearing a surgical mask a few dozen times when I couldn't bike. I didn't get sick this winter like I usually do.
I probably need to bike for the next 9 winters though before I can really attribute not getting sick to not taking the T and exercising.