A is married but A had a relationship with B and although B asked A if he'd ever got married but A didn't tell B the truth.

"A kept false company with a single person in B."

Is this sentence correct?