Question: how to comment out multiple lines of code in r?
Answer: There are two ways to add multiple single-line comments in R Studio: First way: Select the multiple lines which you want to comment using the cursor and then use the key combination “control + shift + C” to comment or uncomment the selected lines.