(a) An annulment under § 6.102 of a marriage may be granted at the discretion of the court sitting without a jury.
(b) In exercising its discretion, the court shall consider the pertinent facts concerning the welfare of the parties to the marriage, including whether the female is pregnant.