I don't think so. You shouldn't be coerced into giving forced impression. If I don't love someone, there are polite ways to make it known rather than giving false reality. I wouldn't do that.
Love is a very touchy subject and the person you've told may become drawn to you because of what you said. It won't make sense then as you end up hating the fact that you said it. Also, the person could come to realize that you didn't mean what you said and hate you for it.
It's better to be honest about your feelings.