In Rmarkdown, I can use cmd+shift+c to comment out a trunk of code with "#". Like
options(scipen = 999)
library(parallel)
# Ne = 1*10^6
# len = 55000
But in BASH code, when I use cmd+shift+c, it comments the code with "", rather than "#".
<!-- create_ann() { -->
<!-- scfid=${1%%.*} -->
<!-- echo ${vcfname} -->
<!-- java -jar xx.jar -->
<!-- } -->
In fact, "<!--" doesn't act as comments in terminal. So how can I comment bash code with "#" using shortcuts.