well While I was writing the question I found this answer
which gives the following solution to make it skip that line fscanf(config_file, "%*[^\n]\n");
It worked But I don't really understand the whole thing yet for example why there is two NEWLINE characters in the pattern what each of them represent and if there's more to know about this patterns
the reference in the answer gives a brief explanation about what this characters mean But I would like a more complete explanation,
After some searching I didn't manage to put my hands on any complete reference on this characters So if someone can provide a reference to read from or something. would be appreciated