Usage of vim.keymap.set on visual mode multi-lines get selected

How to update this line please:

vim.api.nvim_set_keymap('v', '<M-?>', ':Commentary<CR>gv', NOREF_NOERR_TRUNC)

I want to exit the visual mode to normal mode and go back in again.