How can this be a negative comment? This took me by surprise at first then I thought about how it came across to me. I am continuing the list of things not to say.
The writer of the article shared a personal experience when they were struggling and someone asked, "Did you pray about it?" The person was in a bad place where prayer was not happening. So now they felt guilty about not praying about the situation. In Calvin in Hobbes, Calvin declares there is no situation that is so bad that someone can't add a little guilt to make it worse. I realized that the question did the same thing to me more than once.
In my own experience, I felt hurt by the question because I had prayed for so long with no answers that I understood. I had prayed until my knees hurt. The question felt like the person was doubting my sincerity in prayer. However, I also know that prayer works. Not in the way I expect, but it does work. So I pondered how can I use this in a kind and helpful way. I decided it depends how well I know someone. I once offered on someone else's blog to pray for them in comments. The person was deeply offended because they felt prayer was useless and God was cruel. I apologized for the offense. I now consider first, how well do I know the person? Do they share my beliefs? Do I know their beliefs? Are there other words of encouragement that I could use that would be soothing for them? If they do share my beliefs, I think I want to change this phrase to, "May I pray with you?" There is amazing power in shared prayers. There is also the quiet, "I'll pray for you, may I add your name to my prayer circle of friends?" After reading this article that the phrasing of this statement too easily sounds like a put down or a dismissal of their actions or beliefs. Prayer is powerful but when a person is hurting how I phrase the suggestion to use prayer can make the difference between lifting or adding to a burden.