There is no platonic reading for this that holds water. Friends don’t fall apart from grief when their friend gets married. He was mourning the loss of his love.
“I get a wife out of it, Jones gets the credit, pray what remains for you?”
“For me,” said Sherlock Holmes, “there still remains the cocaine-bottle.” And he stretched his long white hand up for it.