Yes, in the 'It' novel, Richie was gay. Stephen King included this aspect of his character which added depth to Richie's personality and his experiences in the story.
Richie wasn't gay in the novel 'It'. The author didn't present his character in that way. The plot centered around other elements rather than Richie's sexuality.
Whether Richie is gay in the novel isn't always straightforward. It could be left ambiguous for the reader to interpret or could be revealed gradually as the story progresses.