In modern versions of openssh hashing of the hostnames in the known_host files is supported. This prevents exposure of hostnames in case a system gets broken in to.
One can easily convert a file with the command ssh-keygen -H -f known_hosts_file.
Syntax differs slightly from standard format.
One hostname per line and change from ',' to '|' as separators.