Adds a new row of type section.
The text must not contain any new line character.
The content of the block is moved into the newly created section, the original block is empty after the call of this method.