I think the comet water hypothesis is still accepted as how some
of Earth's water got here but I think it is now considered implausible that it is the only water source on the early Earth (the isotope ratios of water in comets do not match those of sea water on Earth). IIRC analysis of Moon rocks has suggested a lot of water was already present when the Earth formed (possibly from carbonaceous chondrites whose isotopr ratios do
match those of seawater on Earth...
These water containing chondrites may have picked up the water as it condensed on them when they passed through molecular clouds, or if the chondrite where ixygen rich it may have formed in situ.
Short answer: your guess is as good as mine