The novel/film The Fault in Our Stars has no character named Ethan. The male protagonist is Augustus Waters.
His gravestone inscription (composed by Hazel Grace) reads:
"Augustus Waters / 1994–2012 / Here lies a boy who loved a girl / And whose love was a privilege to witness."
The quote you referenced—"Here lies a great soul, who was loved by many, and will be missed forever"—does not appear in the book or movie. It sounds like a generic, idealized epitaph that would be ironic if placed on a teenager's grave because:
The irony lies in the gap between conventional, inflated mourning language and the quiet, specific, devastating reality of a young life cut short.