Yes, I believe Tolkien stated that he did NOT want any of his works to be read as allegory. I think most would agree that he did write from a Christian worldview … just not as allegory.
In fact, he did. Many times.

Here are some samples:
I dislike Allegory – the conscious and intentional allegory – yet any attempt to explain the purport of myth or fairytale must use allegorical language. (And, of course, the more ‘life’ a story has the more readily will it be susceptible of allegorical interpretations: while the better a deliberate allegory is made the more nearly will it be acceptable just as a story.)
(To Milton Waldman, ca. 1951)
Thank you for your letter. I hope that you have enjoyed
The Lord of the Rings?
Enjoyed is the key-word. For it was written to
amuse (in the highest sense): to be readable. There is
no ‘allegory’, moral, political, or contemporary in the work at all.
It is a ‘fairy-story’, but one written – according to the belief I once expressed in an extended essay ‘On Fairy-stories’ that they are the proper audience – for adults. Because I think that fairy story has its own mode of reflecting ‘truth’, different from allegory, or (sustained) satire, or ‘realism’, and in some ways more powerful. But first of all it must succeed just as a tale, excite, please, and even on occasion move, and within its own imagined world be accorded (literary) belief. To succeed in that was my primary object.
But, of course, if one sets out to address ‘adults’ (mentally adult people anyway), they will not be pleased, excited, or moved unless the whole, or the incidents, seem to be about something worth considering, more e.g. than mere danger and escape: there must be some relevance to the ‘human situation’ (of all periods). So something of the teller’s own reflections and ‘values’ will inevitably get worked in. This is not the same as allegory. We all, in groups or as individuals,
exemplify general principles; but we do not
represent them. The Hobbits are no more an ‘allegory’ than are (say) the pygmies of the African forest. Gollum is to me just a ‘character’ – an imagined person – who granted the situation acted so and so under opposing strains, as it appears to
be probable that he would (there is always an incalculable element in any individual real or imagined: otherwise he/she would not be an individual but a ‘type’.)
(To Michael Straight [draft], ca. 1956)
There is no ‘symbolism’ or conscious allegory in my story. Allegory of the sort ‘five wizards = five senses’ is wholly foreign to my way of thinking. There were five wizards and that is just a unique part of history. To ask if the Orcs ‘are’ Communists is to me as sensible as asking if Communists are Orcs.
That there is no allegory does not, of course, say there is no applicability. There always is. And since I have not made the struggle wholly unequivocal: sloth and stupidity among hobbits, pride and [illegible] among Elves, grudge and greed in Dwarf-hearts, and folly and wickedness among the ‘Kings of Men’, and treachery and power-lust even among the ‘Wizards’, there is I suppose applicability in my story to present times. But I should say, if asked, the tale is not really about Power and Dominion: that only sets the wheels going; it is about Death and the desire for deathlessness. Which is hardly more than to say it is a tale written by a Man!
(To Herbert Schiro, 17 November 1957)
Theologically (if the term is not too grandiose) I imagine the picture to be less dissonant from what some (including myself) believe to be the truth. But since I have deliberately written a tale, which is built on or out of certain ‘religious’ ideas, but is not an allegory of them (or anything else), and does not mention them overtly, still less preach them, I will not now depart from that mode, and venture on theological disquisition for which I am not fitted. But I might say that if the tale is ‘about’ anything (other than itself), it is not as seems widely supposed about ‘power’. Power-seeking is only the motive-power that sets events going, and is relatively unimportant, I think. It is mainly concerned with Death, and Immortality; and the ‘escapes’: serial longevity, and hoarding memory.
(To Rhona Beare, 14 October 1958)
I hope ‘comment on the world’ does not sound too solemn. I have no didactic purpose, and no allegorical intent. (I do not like allegory (properly so called: most readers appear to confuse it with significance or applicability) but that is a matter too long to deal with here.) But long narratives cannot be made out of nothing; and one cannot rearrange the primary matter in secondary patterns without indicating feelings and opinions about one’s material. …
(To Walter Allen, ca. April 1959 [drafts])
[In reply to
http://en.wikipedia.org/wiki/Åke_Ohlmarks”]Åke Ohlmarks’ introduction to the infamous Swedish translation of LotR]
Here [in Mordor] rules the personification of satanic might Sauron (read perhaps in the same partial fashion [as other identifications Ohlmarks has made]
Stalin).
There is no ‘perhaps’ about it. I utterly repudiate any such ‘reading’, which angers me. The situation was conceived long before the Russian revolution. Such allegory is entirely foreign to my thought. The placing of Mordor in the east was due to simple narrative and geographical necessity, within my ‘mythology’. The original stronghold of Evil was (as traditionally) in the North; but as that had been destroyed, and was indeed under the sea, there had to be a new stronghold, far removed from the Valar, the Elves, and the sea-power of Númenor.
(To Allen & Unwin, 23 February 1961)