But in this way you delete every line that contains a comment or localhost, even if the word localhost is placed in the comment.
# [ZEDO] 0.0.0.0 zedo.com #[WebBug] 0.0.0.0 ads.zedo.com 0.0.0.0 c1.zedo.com 0.0.0.0 c2.zedo.com #[Tracking.Cookie] 0.0.0.0 c3.zedo.com