Hermione was only half joking. While she didn’t think that Draco was married, it made her uncomfortable in her own skin. He had mentioned the name Pansy specifically to be protected. Maybe he had another girlfriend.