Jon did not want to reveal he got infected by greyscale because he did not want to feel like a failure. He blamed himself for Rhaegar Targaryen's death, and leaving young Aegon because of disease was something he could not do.