That's currently unknown in the games. However, in the Sonic the Hedgehog comics, Knuckles marries a female echidna named Julie-Su, so the comics offer one answer where the games leave it open.