All the hiking trails by me usually have a line of people on them. And they say if you're jogging or exercising you're actually supposed to stay 20 ft away from other people because of the way you're breathing out air.
Not to mention that UV damages DNA/RNA. Hence the saying sunlight is the best disinfectant. Obviously if it's already in you then the vitamin D your body will produce wont hurt your immune systems response.