That wasn't always true. Sherlock Holmes kept his distance (although Watson fell in love and married). Poirot and Marple kept their minds on crime.
So I'm wondering how important the romantic angle is to us. Along with solving a murder does our hero(ine) have to have at least a whisper of possibility? And can you think of any other mystery protagonists who don't have their eyes (or hearts) on someone?