When copying code from the code block by selecting specific lines in the block and wrapLines is set to true, extra newlines are added to the copied snippet.

Result in no extra-lines


Results in extra-lines:

Not related, but also it would be great if the line number is not copied as part of the code snippet.