According to the
Centers for Disease Control and Prevention, “There is no evidence that COVID-19 can be spread to humans through the use of pools and hot tubs. Proper operation, maintenance, and disinfection (e.g., with chlorine and bromine) of pools and hot tubs should remove or inactivate the virus that causes COVID-19.”
If you’re wondering about saltwater pools, this goes for those as well. Your saltwater pool will convert the salt into chlorine.
So if you're probably safe diving salt water. Don't know about fresh Water but my personal opinion is that the virus will be soon diluted to the point that it is unlikely you could get a high enough dosage to get infected.