Source: https://stackoverflow.com/questions/44309687/how-to-select-every-n-line-in-vscode
Press Ctrl+F or command+F
If not already enabled, press Alt+R or option+command+R to toggle RegEx searching (or press the .* button)
Enter (.*\n){N} into the search field, replacing N with the number of lines to select (such as (.*\n){2} for every second line)
Press Alt+Enter or option+return to select every Nth line