I thought it was pretty heavily implied he knows the truth given his talks w/ Sansa in the Stark Crypt way back when.
It was implied that he knew (or at least suspected) that Lyanna ran off with Rhaegar, as opposed to being kidnapped.
He would have no way of knowing that Jon was their child. Only two people ever knew and neither told anyone.