Is it wrong to put litmus paper directly in solution?

Probably not but I don't think it's recommended. To be honest about it, I often worried about how much of my sample I was losing from the drop that went onto the paper when I discarded the paper.