There's several comment integrations you can choose from https://ghost.org/integrations/community/
If you look at the various options being suggested in the comments here you'll see many of them don't come with comments out of the box. Jekyll, Gatsby, Hugo, 11ty all require you to use a third party service or roll your own.
Yes none of those static site generators support commenting, making them not very suitable for blogging(they dont even support searches). That is why I am not a proponent of static generators as a blogging platform.