fix issue 11760, host entries append to eol, even lines with comments
fix issue 11760, host entries append to eol, even lines with comments

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt