If you’re trying to stop automatic updates or telemetry on a legitimate copy, please check SketchUp’s settings or firewall rules instead of the hosts file.