Since 1.5, you can just use the Immunization feature, it has a Windows / Global (Hosts) entry at the very bottom of its list of immunization locations.
The other way would be to use the Mode menu to switch to advanced mode, and find the Hosts File tool in the Tools section.