Not what you asked (I don't know of any such option), but just in case: if your goal is to have all the advantages of markdown but without running any code, you can simply save your file as markdown with the .md extension. RStudio will still offer the tools to compile it to html or LaTeX, but will not treat code in a special way.