Yes. When you enter text or any symbols into a paragraph, list or quote, we treat it as text.
An easy way to do several lines of code is to use one of the three lists (numbered, bulleted, outline) and go to Style> Body > Lists and set the numbering for the list type you want to use to None. That way, you end up with a blank list that allows you to indent and outdent list items.