how to remove comment in a region with the built in treesit mode of Emacs 29

https://www.reddit.com/r/neovim/comments/t88al5/using_treesitter_api_to_remove_comments_in_a/

Emacs lisp preferred. Thank you!