WordPress comments are segmented by IDs of their parent posts.
For virtual pages you would either have to:
- replicate the process (by creating underlying Custom Post Type for it)
- or completely rebuild how it’s handled for them (for example by tracking segments as comment meta and query accordingly)