Set the comment in the hosts entry if it is not an empty string.