The concept of branching with an 'if' statement allows one or more lines of code to be executed conditionally. This means an 'if' statement can execute a block of code, which contains multiple lines, not just a single line. Therefore, the statement is not limited to only one line of code as suggested by the question.