Multiline Comment Workarounds? December 21, 2022 by Tarik You can do this easily in RStudio: select the code and click CTR+SHIFT+C to comment/uncomment code.