While there have been some instances where he has had romantic relationships with characters like Catwoman, Talia al Ghul, and Vicki Vale, these relationships never resulted in marriage.
The most common explanation for Batman's unmarried status is that he believes his life as Batman is too dangerous and unpredictable to commit to a traditional marriage. He also wants to focus entirely on fighting crime and keeping Gotham City safe.